-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[build] Prepare for release of Selenium 4.36.0 #16332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||||||||
It seems like CI failed with json 2.14.0: https://github.com/SeleniumHQ/selenium/actions/runs/18105804871/job/51532817046#step:18:233 Is it possible to test again with 2.15.0 and remove the constraint on json? |
yes, we will test and adjust this for next release. |
User description
Warning: Manually update the changelogs before merging
This PR:
PR Type
Enhancement, Other
Description
• Major CDP Version Update: Updated Chrome DevTools Protocol support from v137 to v140 across all language bindings (Java, .NET, Python, Ruby, JavaScript)
• Version Release: Updated all Selenium bindings to stable version 4.36.0 from nightly builds
• Selenium Manager Update: Updated to new release with updated binary hashes for all platforms
• Dependency Updates: Upgraded Maven dependencies including Jackson (2.18.2 → 2.19.1), Guava, Gson, Protobuf, and other libraries
• Test Configuration Changes: Removed platform-specific exceptions from Firefox and screenshot tests, switched Edge remote tests from Windows to macOS
• Documentation: Added comprehensive changelogs for all language bindings documenting new features, bug fixes, and improvements
• New Contributors: Added 7 new contributors to the AUTHORS file
• Ruby Gem Constraints: Added JSON gem version constraint (≤ 2.13.2) to Ruby gemspec
Diagram Walkthrough
File Walkthrough
17 files
v140Target.java
Update DevTools Target implementation from v137 to v140java/src/org/openqa/selenium/devtools/v140/v140Target.java
• Updated package declaration from
v137tov140• Changed class name
from
v137Targettov140Target• Updated all import statements to
reference
v140instead ofv137• Modified all internal references to
use
v140DevTools classesv140Network.java
Update DevTools Network implementation from v137 to v140java/src/org/openqa/selenium/devtools/v140/v140Network.java
• Updated package declaration from
v137tov140• Changed class name
from
v137Networktov140Network• Updated all import statements to
reference
v140instead ofv137• Modified logger class reference to
use new class name
v140Events.java
Update DevTools Events implementation from v137 to v140java/src/org/openqa/selenium/devtools/v140/v140Events.java
• Updated package declaration from
v137tov140• Changed class name
from
v137Eventstov140Events• Updated all import statements to
reference
v140instead ofv137• Modified constructor and internal
type references
v140Domains.java
Update DevTools Domains implementation from v137 to v140java/src/org/openqa/selenium/devtools/v140/v140Domains.java
• Updated package declaration from
v137tov140• Changed class name
from
v137Domainstov140Domains• Updated all field types and
constructor calls to use
v140classes• Modified instantiation of all
domain implementations
v140Javascript.java
Update DevTools Javascript implementation from v137 to v140java/src/org/openqa/selenium/devtools/v140/v140Javascript.java
• Updated package declaration from
v137tov140• Changed class name
from
v137Javascripttov140Javascript• Updated all import statements
to reference
v140instead ofv137• Modified constructor parameter
types
v140Log.java
Update DevTools Log implementation from v137 to v140java/src/org/openqa/selenium/devtools/v140/v140Log.java
• Updated package declaration from
v137tov140• Changed class name
from
v137Logtov140Log• Updated all import statements to reference
v140instead ofv137v140CdpInfo.java
Update CDP Info implementation from v137 to v140java/src/org/openqa/selenium/devtools/v140/v140CdpInfo.java
• Updated package declaration from
v137tov140• Changed class name
from
v137CdpInfotov140CdpInfo• Updated CDP version number from 137
to 140
• Modified constructor to reference new domains class
V140Domains.cs
Update .NET DevTools Domains from V137 to V140dotnet/src/webdriver/DevTools/v140/V140Domains.cs
• Updated namespace from
V137toV140• Changed class name from
V137DomainstoV140Domains• Updated DevTools version property from
137 to 140
• Modified all property implementations to use
V140classesV140Network.cs
Update .NET DevTools Network from V137 to V140dotnet/src/webdriver/DevTools/v140/V140Network.cs
• Updated namespace from
V137toV140• Changed class name from
V137NetworktoV140Network• Updated all using statements to reference
V140instead ofV137• Modified internal type references to use
V140classes
V140JavaScript.cs
Update .NET DevTools JavaScript from V137 to V140dotnet/src/webdriver/DevTools/v140/V140JavaScript.cs
• Updated namespace from
V137toV140• Changed class name from
V137JavaScripttoV140JavaScript• Updated all using statements to
reference
V140instead ofV137V140Target.cs
Update .NET DevTools Target from V137 to V140dotnet/src/webdriver/DevTools/v140/V140Target.cs
• Updated namespace from
V137toV140• Changed class name from
V137TargettoV140Target• Updated using statements to reference
V140instead of
V137V140Log.cs
Update .NET DevTools Log from V137 to V140dotnet/src/webdriver/DevTools/v140/V140Log.cs
• Updated namespace from
V137toV140• Changed class name from
V137LogtoV140Log• Updated using statements to reference
V140instead of
V137DevToolsDomains.cs
Update DevTools supported versions from 137 to 140dotnet/src/webdriver/DevTools/DevToolsDomains.cs
• Replaced version 137 with 140 in supported versions array
• Updated
factory method to create
V140Domainsinstead ofV137Domainsselenium_manager.bzl
Update Selenium Manager binaries to new releasecommon/selenium_manager.bzl
• Updated SHA256 hashes for all three platform binaries (Linux, macOS,
Windows)
• Changed release tag from
selenium-manager-acecd4ftoselenium-manager-fad281fselenium-webdriver.gemspec
Add JSON gem version constraint to Ruby gemspecrb/selenium-webdriver.gemspec
• Added dependency constraint for
jsongem with version<= 2.13.2maven_install.json
Update Java Maven dependencies to latest versionsjava/maven_install.json
• Updated artifact hashes and dependency versions for multiple
libraries
• Upgraded Jackson from 2.18.2 to 2.19.1
• Updated Guava,
Gson, Protobuf, and other dependencies to newer versions
MODULE.bazel
Update Maven and Ruby dependencies to latest versionsMODULE.bazel
• Updated multiple Maven dependencies to newer versions including
spotbugs, gson, guava, protobuf-java, grpc-context, lettuce-core,
htmlunit-core-js, bouncycastle, mockito-core, and redisson
• Updated
BOM dependencies for opentelemetry and netty to newer versions
•
Updated Ruby gem checksums for various gems including activesupport,
base64, benchmark, bigdecimal, and many others
11 files
DevToolsTargetTest.cs
Update DevTools test to use V140 instead of V139dotnet/test/common/DevTools/DevToolsTargetTest.cs
• Updated using alias from
V139toV140• Changed version ID from 139
to 140
DevToolsTabsTest.cs
Update DevTools tabs test to use V140dotnet/test/common/DevTools/DevToolsTabsTest.cs
• Updated using alias from
V139toV140DevToolsPerformanceTest.cs
Update DevTools performance test to use V140dotnet/test/common/DevTools/DevToolsPerformanceTest.cs
• Updated using alias from
V139toV140DevToolsProfilerTest.cs
Update DevTools profiler test to use V140dotnet/test/common/DevTools/DevToolsProfilerTest.cs
• Updated using alias from
V139toV140DevToolsConsoleTest.cs
Update DevTools console test to use V140dotnet/test/common/DevTools/DevToolsConsoleTest.cs
• Updated using alias from
V139toV140DevToolsLogTest.cs
Update DevTools log test to use V140dotnet/test/common/DevTools/DevToolsLogTest.cs
• Updated using alias from
V139toV140DevToolsNetworkTest.cs
Update DevTools network test to use V140dotnet/test/common/DevTools/DevToolsNetworkTest.cs
• Updated using alias from
V139toV140DevToolsSecurityTest.cs
Update DevTools security test to use V140dotnet/test/common/DevTools/DevToolsSecurityTest.cs
• Updated using alias from
V139toV140driver_spec.rb
Remove Windows exception from Firefox print testrb/spec/integration/selenium/webdriver/firefox/driver_spec.rb
• Removed Windows platform exception from 'prints full page' test
takes_screenshot_spec.rb
Remove Windows exception from screenshot testrb/spec/integration/selenium/webdriver/takes_screenshot_spec.rb
• Removed Windows platform exception from 'takes full page screenshot'
test
window_spec.rb
Update window maximize test configurationrb/spec/integration/selenium/webdriver/window_spec.rb
• Removed Firefox/macOS exception from 'can maximize the current
window' test
• Changed window size from 700x700 to 650x650
17 files
__init__.py
Update Python Selenium version to 4.36.0py/selenium/webdriver/init.py
• Updated version from
4.36.0.202508121825to4.36.0__init__.py
Update Python package version to 4.36.0py/selenium/init.py
• Updated version from
4.36.0.202508121825to4.36.0selenium-dotnet-version.bzl
Update .NET version and DevTools support to 4.36.0/v140dotnet/selenium-dotnet-version.bzl
• Updated SE_VERSION from
4.36.0-nightly202508121825to4.36.0•
Replaced
v137withv140in supported DevTools versionsversions.bzl
Update Java CDP versions from v137 to v140java/src/org/openqa/selenium/devtools/versions.bzl
• Replaced
v137withv140in CDP_VERSIONS arrayversion.bzl
Update Java version to 4.36.0 releasejava/version.bzl
• Updated SE_VERSION from
4.36.0-SNAPSHOTto4.36.0version.rb
Update Ruby DevTools version to 0.140.0rb/lib/selenium/devtools/version.rb
• Updated DevTools VERSION from
0.139.0to0.140.0version.rb
Update Ruby WebDriver version to 4.36.0rb/lib/selenium/webdriver/version.rb
• Updated VERSION from
4.36.0.nightlyto4.36.0Rakefile
Update CDP version in Java release targetsRakefile
• Updated Java release target from
v137tov140for CDP versionBUILD.bazel
Update Python version and CDP browser versionspy/BUILD.bazel
• Updated
SE_VERSIONfrom nightly build version to stable release4.36.0• Updated browser versions list to replace
v137withv140ci-ruby.yml
Switch Edge remote tests from Windows to macOS.github/workflows/ci-ruby.yml
• Changed Edge browser remote tests from Windows to macOS platform
BUILD.bazel
Update CDP version to v140 in Java devtoolsjava/src/org/openqa/selenium/devtools/v140/BUILD.bazel
• Updated
cdp_versionvariable fromv137tov140BUILD.bazel
Update JavaScript version and CDP browser versionsjavascript/selenium-webdriver/BUILD.bazel
• Updated
VERSIONfrom nightly build to stable release4.36.0•
Updated browser versions list to replace
v137withv140Cargo.toml
Update Rust package version to stable releaserust/Cargo.toml
• Updated package version from
0.4.36-nightlyto stable release0.4.36pyproject.toml
Update Python project version to stable releasepy/pyproject.toml
• Updated project version from nightly build to stable release
4.36.0package.json
Update JavaScript package version to stable releasejavascript/selenium-webdriver/package.json
• Updated package version from nightly build to stable release
4.36.0BUILD.bazel
Update CDP versions in Ruby devtools configurationrb/lib/selenium/devtools/BUILD.bazel
• Updated
CDP_VERSIONSlist to replacev137withv140BUILD.bazel
Update Rust binary version to stable releaserust/BUILD.bazel
• Updated Rust binary version from
0.4.36-nightlyto stable release0.4.369 files
conf.py
Update Python documentation version to 4.36.0py/docs/source/conf.py
• Updated release version from
4.36.0.202508121825to4.36.0CHANGELOG
Add .NET changelog for version 4.36.0dotnet/CHANGELOG
• Added comprehensive changelog entries for version 4.36.0
• Documents
CDP version update, BiDi improvements, bug fixes, and new features
CHANGELOG
Add Java changelog for version 4.36.0java/CHANGELOG
• Added changelog entries for version 4.36.0
• Documents CDP version
update, Grid improvements, bug fixes, and new features
bug-report.yml
Update bug report template with latest version.github/ISSUE_TEMPLATE/bug-report.yml
• Updated latest Selenium version reference from 4.35 to 4.36
AUTHORS
Add new contributors to AUTHORS fileAUTHORS
• Added 7 new contributors to the authors file: Anthony Richardson,
Giulio Longfils, iDONi, NoStory-py, Paresh Gupta, Vaibhav Gupta, and
Victoria Ivanova (with two email entries)
CHANGES
Add Python changelog for version 4.36.0py/CHANGES
• Added changelog entries for Selenium 4.36.0 release
• Includes CDP
updates (Chrome 140 added, 137 removed), bug fixes, type annotation
improvements, BiDi enhancements, and various code quality improvements
CHANGES
Add Ruby changelog for version 4.36.0rb/CHANGES
• Added changelog entries for Ruby binding version 4.36.0
• Includes
CDP updates (Chrome 140 added, 137 removed), BiDi browser module
enhancements, and bug fixes
CHANGES.md
Add JavaScript changelog for version 4.36.0javascript/selenium-webdriver/CHANGES.md
• Added changelog entry for version 4.36.0 noting CDP update (Chrome
140 added, 137 removed)
CHANGELOG.md
Add Rust changelog for version 0.4.36rust/CHANGELOG.md
• Added changelog entry for version 0.4.36 with debug level
improvement for offline mode warnings
1 files
browser_protocol.pdl
Add Chrome DevTools Protocol v140 definitionscommon/devtools/chromium/v140/browser_protocol.pdl
• Added new CDP protocol definitions for Chrome version 140
• Includes
new types, commands, and events for various domains
• Added support
for new browser features and APIs
3 files